//
//  YZMUserDetailModel.m
//  YZMicroStock
//
//  Created by Lv.Dongdong on 16/4/15.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import "YZMUserDetailModel.h"
#import "Mantle+Utils.h"

@implementation YZMUserDetailModel

+ (NSDictionary *)JSONKeyPathsByPropertyKey {
    
    return @{
             @"name": @"name",
             @"username":@"username",
             @"loginMobile":@"loginMobile",
             @"loginMobileNoHidden":@"loginMobileNoHidden",
             @"loginEmail":@"loginEmail",
             
             @"isWithDrawPw":@"withdrawPw",
             @"idCardVerifyStatus":@"idCardVerifyStatus",
             @"nameVerifyStatus":@"nameVerifyStatus",

             @"identityNumber": @"identityNumber",
             @"identityVerify": @"identityVerify",

             @"marital": @"marital",
             @"address":@"address",
             @"province":@"province",
             @"educate":@"educate",
             @"industry":@"industry",
             @"occupation":@"occupation",
             @"earning":@"earning",
             @"isIDCardUploadAble":@"idCardUploadable",
             @"isNamed":@"named",
             @"bindingpayZFAccount":@"bindingpayZFAccount",
             @"payZFAccount":@"payZFAccount"
             };
}

+ (NSValueTransformer *)identityVerifyJSONTransformer
{
    return [NSValueTransformer valueTransformerForName: MTLLongStringTransformerName];
}

+ (NSValueTransformer *)maritalJSONTransformer
{
    return [NSValueTransformer valueTransformerForName: MTLLongStringTransformerName];
}

- (void)setNilValueForKey:(NSString *)key {
    
}

@end
